/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package mnstudent.datatranferobject;

import java.util.Objects;
/**
 *
 * @author lee
 */
public class PrerequisiteSubjectDetailDTO {
    
    //<editor-fold defaultstate="collapsed" desc=" Attributes">
    private String m_SubjectID;
    private String m_PrerequisiteSubjectID;
    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc=" Properties">
    public String getSubjectID(){ return this.m_SubjectID;};
    
    public void setSubjectID(String strSubjectID){ this.m_SubjectID = strSubjectID;};
    
    public String getPrerequisiteSubjectID(){ return this.m_PrerequisiteSubjectID;};
    
    public void setPrerequisiteSubjectID(String strPrerequisiteSubjectID){ this.m_PrerequisiteSubjectID = strPrerequisiteSubjectID; };
   
    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc=" Method">
    public PrerequisiteSubjectDetailDTO(){
        
    }
    
    public PrerequisiteSubjectDetailDTO(String strSubjectID, String strPrerequisiteSubjectID){
        this.m_PrerequisiteSubjectID = strPrerequisiteSubjectID;
        this.m_SubjectID = strSubjectID;
    }
    
    @Override
    public String toString() {
        return "PrerequisiteSubjectDetailDTO{" + "m_SubjectID=" + m_SubjectID + ", m_PrerequisiteSubjectID=" + m_PrerequisiteSubjectID + '}';
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 17 * hash + Objects.hashCode(this.m_SubjectID);
        hash = 17 * hash + Objects.hashCode(this.m_PrerequisiteSubjectID);
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final PrerequisiteSubjectDetailDTO other = (PrerequisiteSubjectDetailDTO) obj;
        if (!Objects.equals(this.m_SubjectID, other.m_SubjectID)) {
            return false;
        }
        if (!Objects.equals(this.m_PrerequisiteSubjectID, other.m_PrerequisiteSubjectID)) {
            return false;
        }
        return true;
    }
    //</editor-fold>
}
